package com.work.game.home.ui.model;

import java.io.Serializable;
import java.util.Date;

import cn.hutool.core.util.StrUtil;

/**
 * 用户信息
 */
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;

    /**
     * openid
     */
    private String openid;

    private String usParentId;

    private String deviceId;
    /**
     * 用户头像
     */
    private String picture;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 金币
     */
    private String moneyGoldCoin;
    /**
     * 红包
     */
    private String moneyRedPacket;
    /**
     * 邀请码
     */
    private String code;
    /**
     * 姓名（真实）
     */
    private String afbName;
    /**
     * 手机号
     */
    private String afbPhone;
    /**
     * 累计天数
     */
    private String signInNumber;
    /**
     * 连续签到天数
     */
    private String signIdDayNumber;

    private String loginTime;

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    //今日广告总金币允许N金币
    private String risk_advertising_coins;
    //今日广告总金币N次平均值小于等于N金币（封号）
    private String risk_advertising_coins_than_equal;
    //
    private String risk_advertising_coins_than_equal_two;
    //用户白名单
    private String risk_white_list;

    public String getUsParentId() {
        return usParentId;
    }

    public void setUsParentId(String usParentId) {
        this.usParentId = usParentId;
    }

    public String getRisk_advertising_coins() {
        return risk_advertising_coins;
    }

    public void setRisk_advertising_coins(String risk_advertising_coins) {
        this.risk_advertising_coins = risk_advertising_coins;
    }

    public String getRisk_advertising_coins_than_equal() {
        return risk_advertising_coins_than_equal;
    }

    public void setRisk_advertising_coins_than_equal(String risk_advertising_coins_than_equal) {
        this.risk_advertising_coins_than_equal = risk_advertising_coins_than_equal;
    }

    public String getRisk_white_list() {
        return risk_white_list;
    }

    public void setRisk_white_list(String risk_white_list) {
        this.risk_white_list = risk_white_list;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getOpenid() {
        if (StrUtil.isEmpty(openid)) {
            return null;
        }
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMoneyGoldCoin() {
        return moneyGoldCoin;
    }

    public void setMoneyGoldCoin(String moneyGoldCoin) {
        this.moneyGoldCoin = moneyGoldCoin;
    }

    public String getMoneyRedPacket() {
        return moneyRedPacket;
    }

    public void setMoneyRedPacket(String moneyRedPacket) {
        this.moneyRedPacket = moneyRedPacket;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getAfbName() {
        return afbName;
    }

    public void setAfbName(String afbName) {
        this.afbName = afbName;
    }

    public String getAfbPhone() {
        return afbPhone;
    }

    public void setAfbPhone(String afbPhone) {
        this.afbPhone = afbPhone;
    }

    public String getSignInNumber() {
        return signInNumber;
    }

    public void setSignInNumber(String signInNumber) {
        this.signInNumber = signInNumber;
    }

    public String getSignIdDayNumber() {
        return signIdDayNumber;
    }

    public void setSignIdDayNumber(String signIdDayNumber) {
        this.signIdDayNumber = signIdDayNumber;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRisk_advertising_coins_than_equal_two() {
        return risk_advertising_coins_than_equal_two;
    }

    public void setRisk_advertising_coins_than_equal_two(String risk_advertising_coins_than_equal_two) {
        this.risk_advertising_coins_than_equal_two = risk_advertising_coins_than_equal_two;
    }
}
